import config from "./config";
import service from "./service";
import Taro from "@tarojs/taro";

export default class Session {
  private readonly storageKey: string = "session";
  private readonly headerKey: string = "sessionId";

  public get() {
    return Taro.getStorageSync(this.storageKey);
  }
  public async set() {
    const loginInfo = await Taro.login();
    const { appId } = config;
    const { code } = loginInfo;
  }
}
